﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;

namespace Liang.Device.Model.Camera
{
    /// <summary>
    /// 摄像头基础参数
    /// </summary>
    public abstract class CameraBase
    {
        /// <summary>
        /// 播放窗口句柄
        /// </summary>
        [ScriptIgnore]
        public IntPtr PlayWindow { get; set; }

        /// <summary>
        /// 摄像头IP地址
        /// </summary>
        public string Ipaddr { get; set; }

        /// <summary>
        /// 摄像头端口号
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// 登录帐号
        /// </summary>
        public string Accesscout { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 分辨率
        /// </summary>
        public int ImageSize { get; set; }

        /// <summary>
        /// 是否实时抓拍
        /// </summary>
        public bool RealCapture { get; set; }

        /// <summary>
        /// 通道号
        /// </summary>
        public int Channel { get; set; }

        /// <summary>
        /// 摄像头抓拍车道号
        /// </summary>
        public int RoadNo { get; set; }
    }
}
